Replaced some occurrences of iteritems() by items().
Merge pull request #4 from LuHee/master

Replaced some occurrences of iteritems() by items().