#8:  Added methods to swap and replace nodes

Added methods to swap and replace nodes.  Also, method to return a list
of all nodes in the tree, only the operator type nodes, and only the
operand type nodes.