Implemented simple echo program in Scala.