initial code for controlling motion control through potentiometer data. Most of the main.c functions have comments with sudo code written in class and some defines for states have been created