finished 3 state finite state machine. Could not push to github yesterday due to lack of internet access.