moved to the next lesson
test code moved to tests in parse_tree_test.rb
updated