Solved project euler problem 4.