Completed parts of MyTreeSet.java