Update README.md

Add rotate function