abook.py: Use generator expresion instead of list comprehention