Finished iterative functions

created Update2 to pass value in channel which is put in struct of
kademlia
finished 3 iterative functions