public ArrayList<Integer> Shuffle(ArrayList<Integer> x){
		Random rng = new Random();
		for (int i=numOfCards-1;i>0;i--)
		{	//Fisher-Yates Shuffle implementation
			int index = rng.nextInt(i+1);//picks random number from 0 to i+1 (or i since last num isn't included)
			int temp = x.get(index); // stores the item at the index location in temp variable.
			x.set(index, x.get(i)); //sets item at the random index as the item from the i index
			x.set(i, temp); //sets the randomly chosen variable outside the range of the loop so that it isn't reused.
		}
		//for (int j=0;j<x.size();j++) This is a testing loop commented out
			//System.out.print(x.get(j)+" ");
		return x;
		
	}