Hash Map example using Scala