Add solution to Euler #9