Moved classes for pythagorean triples to Utility class and then changed solutions to use those. Tidied up code for solution to problem 31. Added solutions to problems 76,77,78.