Added the Points structure in which a point can be inserted: {x, y}. Its main purpose is to get all the point's x and y values from one single function getPoints()