30_7: Triangle class.