fixed example from readme && added examples folder && replaced custom fn with debug module

fixed example from readme && added examples folder