added the competition code and motor_stop() test