Project Euler problem 5 (https://projecteuler.net/problem=5)