first working draft of mandelbrot_set