Added stop method to motor.h