Added - Search() function

Added the search function. It returns 0 if the key is not found.