Added solution to Project Euler #10.