added code examples into readme and linked