Clean up Triangle class

Fix style issues and clean up code. Add additional example to test all three
triangle types.
multi line assignment bad (ref: style guide)