Refactoring to use objects
Took out Mandelbrot as a seperate class