Initial thoughts on problem 16
Solve problem 16