How to control the motor forward reversal with two micro switches