Added solution to third Project Euler problem