add randomShuffle and ReservoirSampling algorithm