added method insert in RB-trie