add code to detect equilateral and isosceles triangles
add detection of iscosceles triangles
add validity check method to throw error if triangle is invalid. need to create TriangleError