Create a function that takes a triangle and a test point. Return true if the test point lies within the triangle, false if it doesn't.
withinTriangle(triangle: [(1, 4), (5, 6), (6, 1)], testPoint: (4, 5)) ➞ true
withinTriangle(triangle: [(1, 4), (5, 6), (6, 1)], testPoint: (3, 2)) ➞ false
withinTriangle(triangle: [(-6, 2), (-2, -2), (8, 4)], testPoint: (4, 2)) ➞ true