private void checkProductions(int x,int y)
	{
		HashSet <String> tempSet=new HashSet <String>();
		
		for (int i=0; i<myProductions.length; i++)
		{
			for (int k=x; k<y; k++)
			{
				String key1=x+","+k;
				String key2=(k+1)+","+y;
				for (String A : myMap.get(key1))
				{
					for (String B : myMap.get(key2))
					{
						String target=A+B;
						if (myProductions[i].getRHS().equals(target))
						{
							HashSet <String> temp2Set=new HashSet <String>();
							tempSet.add(myProductions[i].getLHS());
							temp2Set.add("0"+A+"/"+key1);
							temp2Set.add("1"+B+"/"+key2);

							String tempKey=x+","+y+myProductions[i].getLHS();
							if (myMap.get(tempKey)!=null)
								temp2Set.addAll(myMap.get(tempKey));

							myMap.put(tempKey, temp2Set);
						}
					}
				}
			}
		}
		String key=x+","+y;
		myMap.put(key, tempSet);
	}