pub fn points_in_rect(points: &[Point], rect: Rect) -> Vec<bool>
pointsInRect: for each point, whether it is inside the rectangle.
pointsInRect