Add solution for project euler problem 5