createPairings(game) successfully implemented -- code becoming slightly more modular