Collect tweets using the twitter search api

In this code, tweets that contains the keyword 'earthquake' were collected and dump into json objects for further processing.