added search example
jslinted and fixed comment
Merge pull request #9 from greedo/search_example

added search example