fractal pseudocode