added search example

Added a simple search example.