public Production[] getAnswer()
	{
	
	/*	Collections.sort(myAnswer, new Comparator<Production>(){
            public int compare(Production o1, Production o2) {
            	return (o2.getRHS().length()-o1.getRHS().length());
            }
        });
		*/
		Production[] answer=new Production[myAnswer.size()];
		for (int i=0; i<myAnswer.size(); i++)
		{
			answer[i]=myAnswer.get(i);
		}
		return answer;
	}