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