Added correct solution to problem 2.
Added problem to to Euler and changed the problem solving function slightly.