Implementation of the symbol tables appears to be correct for at least one case. Will test it for more cases and correct all the bugs