working code for 2 motors with controller