Playing with Collections API in Scala