add search function
Merge pull request #13 from g0v/add-search

add search function