Fixed bug with declaring global vars

Added a new function to symbol table: clear(). I'm using it to clear the
table after a run.