Wrote a small PID simulator.