Tree traversal and equation creation seems to be working.