adds functionality to display symbol in table when clicked, but isWin function not working