Changed the code a bit

Changed the code a bit for exercise 4 to pass full-objects to the
dictionary....