Solution to the second problem of ProjectEuler

Solution to the second problem https://projecteuler.net/problem=2