code: public static <T> void shuffleArray(T[] arr) {
  		for (int i = arr.length; i > 1; i--)
  			swap(arr, i - 1, rand.nextInt(i));
  	}
docs: Permutes the elements of the given array.
  
  @param <T>
  Array-type
  @param arr
  Array to shuffle