Add random shuffle implementation, which uses the method of full permutation to ensure the random feature.