Solution of problem 5

https://projecteuler.net/problem=5