Add a Triangle class