Iterates over values instead of keys
In this way we don't have to enter the keys back into the dictionaries
Merge pull request #5 from mnmt/master

Iterates over values instead of keys