working mandelbrot tutorial example