Clean up Triangle class

Fix style issues and clean up code. Add additional example to test all three
triangle types.
you duplicate the right_triangle? in `right_triangle_fact`. You can do better