Problem 039: Integer right triangles