Use mutable.HashTable in City.scala and Graph.scala.