Updated motor.py

Now uses constants for arrow keys