fixed player cycling issue, now need to make the program detect a win.