#HowTo create an iterator from a dict in python?