fixed some segfaulting and pointer errors
Merge branch 'master' of https://github.com/hwhalen/naught_compiler