Solves problem 3 of ProjectEuler
Solves problem 4