Working Mandelbrot

Also created a Log class for outputting errors to a log file.