Use loop comprehension instead of map().

Generally, loop comprehensions look nicer in Python than lambda.
Merge pull request #35 from xfix/loop-comprehension

Use loop comprehension instead of map().