codegen bug fix, exporting mandelbrot_set
cleaned up mandelbrot_set code