Added Triangle class.