Added solution for problem 9: Special Pythagorean triplet