Using AvlTree to locate ip address.