[Shuffle] basic algorithm for shuffling