you can create struct 'point' to store x and y coordinates.