Lets consider the following problem:
We have a 4 Points {a,b,c,d} and want to check if the
ways [a;b] and [c;d] would cross each other if we connect the
points by lines on a paper.
The point is defined as (x|y) so it can be drawn into a 2-dimensional
coordinate system.
How can I check this in O(1)?