Added triangle class