Added projecteuler answer 31