Adding getRootNode()  and setRootNode() to Java version of hw2 to make it possible to do unit testing. There was a little bit too much data hiding before.