Java program to render the mandelbrot set