Tetris in Scala