Lookup, Insert and Delete Operations on a kd-tree