Updated sample code in README.md for Getting Started