Solution to problem 4

Solution for problem https://projecteuler.net/problem=4