Solve problem 76
Rework solution 31

Rewrite solution 31 by using dynamic programming algorithm described in
http://projecteuler.net/overview=031
Rework solution 76
Solve problem 77