added motor.py
added .gitignore