uses object oriented design to categorize triangles