Update README.md

Replaces some code with ternary operator usage (now that it's implemented).