Added code to README.md. Maybe needs refinement.