update mandelbrot to use explicit iteration