Rewrote where variables are inserted into the symbol_table in an attempt to resolve scoping issues.

First level scoping works fine, but multi level scoping still breaks.

Unlike last time, the error seems to always result in the variable printing out the same value.