Added a while loop in trendingplaces so I would not get 'list index out of range
'