Simulation of an RC and LRC circuit using Euler's method, written in Haskell.