Fixed a couple of bugs.

- Fixed bugs where the program would crash if the user enters a string instead of a number when console is asking for a number of players.
- Fixed the swapPlayers method which wasn't working properly, or its output wasn't correct.