Create Triangle class.