Refactored and rewrote parts of parser to accomodate symbolTable
Also made some minor syntactic changes to symbolTable