Updating playground code and make README.md use it as example