adding sample codes to README.md file