Add solution to Project Euler #403.