added magnitude as param to color functions
refactored `world` oblect

It now cointains behavior and data, making the switch between julia
and mandelbrot sets easier to make.