Added Triangle class