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