Solve the 1st exercise of the 1st set of challenges
Refactor to prepare for 1.2
Refactor using closures
Decreased the nesting. Less clumsy