Now using scala.io.StdIn instead of Console