Attempt to replicate fractals program