Initial code for a Triangle class