added compare method for the root
removed root type directory
adde TODO notes
implemented cdUp
added cleanUpMethod
added isLeavingRoot()