Changed the Env from an IORef to a list. This made it necessary to carry the env around in a tuple. I was unable to get the state monad to work correctly