generateTable() now generates a table of pictures and returns them. Also checked that we can hande two games in the same browser.
Added game to the same var declaration chain as the rest of the variables.