Overloaded to string for the PythagoreanTheorem class