A method to get the X and Y coordinates for at tic-tac-toe board.