discovery

Discovery:
1. if the cluster is not full: add self to the cluster and return all the peers.
2. if the cluster is full, return a fullcluster error.
oh yes. i should not copy the code to build this function...