Generate a Kleene tree.
kleene.py: Enumerates the branches which should be cut from the complete binary tree in order to be left with a Kleene tree.
plotcuts.py: Generates a (progressive) plot of the cuts.
plottree.py: Generates a (progressive) plot of the Kleene tree.
matplotlib, (which depends on
pip3 install matplotlib --user
python3 -m pip install matplotlib --user