Created a point class with 2 dimensional grid