modified motor driving code to allow for moving forward/backward and left/right at the same time