Fixed bugs

Able to restart game after the end with same names, and took out
redundant code for checking if a player won.