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