determines what type of triangle is created with the side lengths entered