add search fcn
Merge pull request #29 from neapolitan-a-la-code/adam-search

add search fcn