add replica function.Not test yet
Merge branch 'master' of https://github.com/YusiZhang/DSProj3.git