Created JS TicTacToe rules