This challenge concerns non-convex polygons, such as the two polygons depicted below.

One special property of non-convex polygons is that, for some of their vertices, the angle around that vertex that is contained inside the polygon is a reflex angle, i.e. an angle of more than 180 degrees. For this reason:
(1, 1), (3, 1) are reflex vertices (since the angle inside the polygon is a reflex angle) while (0, 0), (4, 0), (2, 5) are regular vertices.(1, 1) is a reflex vertex while all the other vertices are regular vertices.Write a function which given:
[(0, 0), (4, 0), (3, 1), (2, 5), (1, 1)] and [(0, 0), (4, 0), (3, 1), (1, 1), (2, 5)]) and ...Determines if the given vertex is a "regular" vertex or a "reflex" vertex.
which_side([(0, 0), (4, 0), (3, 1), (2, 5), (1, 1)], (3, 1)) ➞ "reflex"
which_side([(0, 0), (4, 0), (3, 1), (2, 5), (1, 1)], (0, 0)) ➞ "regular"
which_side([(0, 0), (4, 0), (3, 1), (1, 1), (2, 5)], (3, 1)) ➞ "regular"
which_side([(0, 0), (4, 0), (3, 1), (1, 1), (2, 5)], (1, 1)) ➞ "reflex"
(3,1) is reflex in the left polygon and regular in the right polygon).