Replaced uses of `map()` with list comprehensions

I didn’t realize that `map()` was considered “outdated” until Pylint pointed it out.  *shrug*

As it turns out, I find the list comprehensions far easier to understand.