Determines what kind of triangle is created by three side lengths; uses object-oriented programming.