implemented pretty dictionary printing
added test spec