Python Everyday 46: Create a dict from pairs