Digital Circuit Simulator in Python