Circuit Simulation for SICP 3.4