assignment 5 (mandelbrot)