Controlling DC Motor Speed and Direction with Pushbuttons