I am working on a project and I need the simplest circuit solution because it will be incased in a mold. I have a motor that I want to be hook up to a push button switch were every time the button is pushed the rotation on the motor changes direction. It needs to be push button because the motor is going to be on a track once the motor gets to the end of the track the button will be pressed by something at the end of the track and I need the motor to reverse rotation to go back the other way on the track.