Worked on parser, cleaned up all memory issues, now it works fine

also touched a a bunch of other things, and now I'm ready to start codegen.