add map example to toUpper

Give a not-so-obvious example of how to use toUpper to create a non-allocating algorithm.
Also, prefer local imports FTW!