Solution of problem 9 : special pythagorean triplet