add code sample to readme