iteration 3

- use split() instead of strip().split(' ')
- use a list comprehension instead of map