Added some comments to Dictionary.scala