Given a multidimensional array, representative of a 3 by 3 tic-tac-toe board, determine if the state of a board is in favor of player X in favor of player O a tie