public Twister(String[]chosenKeys, Gui copy)
	{
		gui = copy;
		
		for(int x=0; x<10; x++)
		{
			if(chosenKeys[x].compareTo("") == 0)
			{
				//empty entry
				altMod[x] = false;
				ctrlMod[x] = false;
				keyNumber[x] = -1;
			}
			else if(chosenKeys[x].substring(0,1).compareTo("A") == 0)
			{
				altMod[x] = true;
				ctrlMod[x] = false;
				keyNumber[x] = Integer.parseInt(chosenKeys[x].substring(4));
			}
			else if(chosenKeys[x].substring(0,1).compareTo("C") == 0)
			{
				ctrlMod[x] = true;
				altMod[x] = false;
				keyNumber[x] = Integer.parseInt(chosenKeys[x].substring(5));
			}
			else
			{
				keyNumber[x] = Integer.parseInt(chosenKeys[x]);
				altMod[x] = false;
				ctrlMod[x] = false;
			}			
		}
	}