Pong written in Scala