Converted map() to list comprehension or generator for Python 3 compatibility
Merge pull request #435 from alexanderlukanin13/syntax-map

Converted map() to list comprehension/generator for Python3 compatibility