Wrote a monad to learn about monads.