public void SelectEndState(){
		Random Rand = new Random();
		int StateIndex =  Rand.nextInt(getNumStates());
		Iterator<GameState> i = AllStates.iterator();
		int n = 0;
		while(i.hasNext()){
			i.next();
			if(n == StateIndex){
				// state is chosen
			} else { //state was not chosen, and is removed.
				i.remove();
			}
			n++;
		}
	}