Use maxOf
Solved problem 12, 13