Lab exercise for class that generates a Mandelbrot image in C++