remove unnecessary is_root function
add function return bool

count number of added elements to the binary tree. The same node
may already exist and will be skipped if present
simplify len function