Functions for finding the number of Players/Names

Added functions for finding the number of players and the names of the
players. It also returns needed information to main so it is available
to other functions when theyre called.