finished everything in Dictionary.scala