added missing semicolons
added a TreeWalker implementation