- completes setTriangleType method
- adds NotTriangleException
- Triangle constructor checks if the side lengths are valid