Change var g_k_randmax to g_k_rand_max
Edit the comment
Use boolean array to store pieces
Let variables to match complete data type
And add two constructors for normal peer and cluster-based cases
Add one important var and function
Var: g_joinable
Function: Get_tid(int peer_id)
Overloade function NewPeer and Fix argument error of original functions
Add debug info of pieces