added code samples to readme