Started the solution to euler 37.