Updated gitignore and fixed printout in popularity.