You seem to have done what was the assignment, even though i disagree with their general structure
I believe it was supposed to test our method making skills.

How would you have structured the program?