Uses cross product to check if 2 lines (each with 2 coordinates) interect