the function evaluateTree now works; iterating over the hashMap now
works and it passes the variable in with the proper value when
evaluating it.