createGame functionality

adds new game to list, adds player to game, waits for game.
Refactored to add new method specifically for adding a player to a game
based on the indices of both. Added object methods.