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

Converted map() to list comprehension/generator for Python3 compatibility
Merge pull request #436 from alexanderlukanin13/syntax-next

Using next() for Python 3 compatibility; ordereddict.py converted from DOS to Unix