added Scala REPL for converting between for expression and flatMap