add sample code to readme