Fixed errors in test file and added functions to control motor
Made tst1.sh for testing simple motor functions