correctly finds the values in board
gets the coordinates of a row