Python program to render the Mandelbrot set