Fractal drawing in Swift