Maytag Washing Machine stopped working

My washing machine stopped working in mid-cycle. I changed the lid-switch and the power is good. What else could my problem be?:confused:

If it stopped before it should have drained check for an obstruction in the pump.
Nat