You are given an array of points, where points[i] have two values: [xi,yi], representing its position on a flat plane.
Your goal is to find the largest rectangle (having maximum area) that can be formed using any four points as the corners. The rectangle should meet the following conditions:
Return the area of the largest rectangle you can create. If no such rectangle can be formed, return −1.
Constraints: