dictionaries and objects

Exercises from SciCoder 2014, Tuesday