fractals via functional iteration with python