Solved PE 9 on finding the Pythagorean triplet for which a +b + c = 1000