Added solution to Euler Problem 6