Add zsh mandelbrot function (from stackoverflow)