Fixed a bug with the implementation
Added a examples dir