Added projecteuler answer #6