mandelbrot_set finally works