Changed the ArrayList to strings and added the functionality to search.