adding Ben's solution to euler 17