add the sample code

add the sample code at readme file