Implemented callback function on tree traversals. Trees are now drawing.