fixed mealy machine, made it sensitive to the stop and reset
Merge branch 'master' of https://github.com/taylorbodin/ECE281_CE3