added prefix, infix, and postfix traversal