Fix weak pointer class.
Fix iterator class.
Work on tree class.