Update README.md

Updated code for getting temperature.