implement mandelbrot