modified displayGames to fix table