GameOfLife in basic Scala.