TicTicToeBoard: Bundled repetitive code into methods and removed redundant passing of array to method