Added solution to Project Euler problem 121