Added toggle class functionality to allow each player to put an X or O