Complex numbers, Quaternions, Implementation and the Mandelbrot Set