merge method
selectPeer() method
modified selectPeer() method
finished the T-man algorithm with rank() and garbage collection missing