public TuringTrimmingTester(String filename)
	{
		int index=0;
		Scanner sc;
		prods=new Production[42];
		try {
			sc = new Scanner(new File(filename));
			while (sc.hasNextLine())
			{
				String line=sc.nextLine()+" ";
				String[] aa=line.split("->");
				Production p=new Production(aa[0], aa[1]);
				prods[index]=p;
				index++;
			}
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		trim();
		
		System.out.println("New Productions");
		
		for (int i=0; i<prods.length; i++)
		{
			System.out.println(prods[i].getLHS()+"->"+prods[i].getRHS());
		}

	}