ratings.foreach {
case(movie, rating) => println(s"key: $movie, value: $rating")
}
ratings.foreach(x => println(s"key: ${x._1}, value: ${x._2}"))
ratings.keys.foreach((movie) => println(movie))
ratings.keys.foreach(println)
ratings.values.foreach((rating) => println(rating))