Add solution to Euler 6