problem 11
problem 12
messy solution to problem 20