Work on local environments and lambda functions

I rewrote all code to use symbols and environments in a generic manner
(with a bit of type punning). I got lambdas to parse and be used
as varibale values, but I haven,t actually written code to call them
yet.