CS3014 Assignment 2 - Optimizing Mandelbrot set generation