Classify triangles according to the angles and sides