starting euler problem 3