Added switchPlayer to TicTacToe
Added switchPlayer with test