Python code for analyzing foursquare data.