added failing test case for search
added code for search to pass the test.
added failing test case for search.
search complete.