Changed board to x,y format instead of row,col