Added return statement
Euler problem 24