Adding cycling on bad input
Merge branch 'master' of https://github.com/foxannefoxanne/EECS-448-Homework-4