Made minor corrections in readme sample code.