finished euler problem 002