build binary tree && level order traversal