python tree data-structure to tree image (*.png) converter