A flip-flop simulation script, written in python3/curses.