Started on intersections
Added a check if point is inside a rectange