working on 2 dimensional array tictactoe