Stores the coordinates of the matrix cell
class Point { constructor ( ) { this . x = 0 ; this . y = 0 ; } } ; function newPoint ( x , y ) { var temp = new Point ( ) ; temp . x = x ; temp . y = y ; return temp ; }