CSP1150 A1: preparing to implement mandelbrot, some fixes. v4.0.0
CSP1150 A1: added mandelbrot subclass