Triangle

Refactored Triangle class