Triangle Class, abstract Shape Class