adding examples dir and simple example

Added a simple example and examples directory