private static void flip(int[] array) {
	     int left = 0;
	     int right = array.length - 1;
	     while (left < right) {
	    	 int temp = array[left];
	         array[left] = array[right];
	         array[right] = temp;
	         ++left;
	         --right;
	     }
	 }