Scala fractal generator