fixed bug with variable scope
expr and term are now working
added stack for labels