Tic Tac Toe game using React.js