Python program to create 2D fractal images from pixel trees