protected void push(char x, int num)
	{
		queueNode trc;
		//Check if the element is forbidden
		trc = iHead;
		while(trc!=null)
		{
			if(trc.getData()==x)
				return;
			trc = trc.getNext();
		}

		//Check if the element is in the holding queue
		trc = jHead;
		while(trc!=null)
		{
			if(trc.getKeyNum()==num)
			{
				trc.setClicked(true);
				return;
			}
			trc = trc.getNext();
		}
		//Put the element into the list
		if(pTail!=null)
		{
			pTail.setNext(new queueNode(x, num));
			pTail = pTail.getNext();
		}
		else
		{
			pHead = new queueNode(x,num);
			pTail = pHead;
		}
	}