deleted the iterator code that we won't be using anymore.
Added get rootPointer method and made retrieveNode method public for use
in the dump() function.