solved integer right triangles problem