A logic circuit simulator written in Python