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