Added solution for Project Euler problem 6