working on tree insertion