Add search functionality.

Details of changes:
    - any keyword given, the entire code snippet library will be
      searched and matched code snippets will be returned.
    - User now has a choice between Add, Lookup and Exit.