Added triangle class
Added base triangle class and spec