put search results into arrayList and created a class to represent the search result containing link, snippet and title