Added methods to Triangle class
Added Shapes3 class