trees insert and traversal