Implementing assert to search function to test
Implement assert for search function, modifying to not be case sensitive
so as to be convinient for user. Setting methods to private so as not to
allow unnecessary public view and for the search added a abtract method
called checkIfValidSearchThenExecute as to prevent outOfBound error.