Adding euler problem 3 prime largest factor