First Submission of Assignment 2.2

Probably not the shortest way to do this but figured I would try to logic my way into it and not just copy the shorter method I don't quite grasp yet off the internet.