Added a random generator to array of games