Create a function which returns the type of triangle, given the side lengths. Return the following values if they match the criteria.
"scalene""isosceles""equilateral""not a triangle"getTriangleType([2, 6, 5]) ➞ "scalene"
getTriangleType([4, 4, 7]) ➞ "isosceles"
getTriangleType([8, 8, 8]) ➞ "equilateral"
getTriangleType([3, 5, 5, 2]) ➞ "not a triangle"