Updating example.

I added a linear search wrapper function and confirmed that it compiles and works.