controlFlow Homework AAC

I know the problem said to try this using `case-switch`, but I would try refactoring it to use `if - else` and see which one you like better.