Mandelbrot example in Swift