public static ArrayList<int[]> getGoalLocations(State state) {
		ArrayList<int[]> goalList = new ArrayList<int[]>();
		int[] goalPosition = {0, 0};
		ArrayList<ArrayList<String>> temp;
		temp = copy(state.getData());
		for (int k = 0; k < temp.size(); k++) {
			for(int m = 0; m < temp.get(k).size(); m++) {
				if (temp.get(k).get(m).equals(".")) {
					goalPosition[0] = k;
					goalPosition[1] = m;
					goalList.add(goalPosition);
					continue;
				}
			}
			
			for(int m = 0; m < temp.get(k).size(); m++) {
				if (temp.get(k).get(m).equals("*")) {
					goalPosition[0] = k;
					goalPosition[1] = m;
					goalList.add(goalPosition);
					continue;
				}
			}
		}
		
		return goalList;
		
	}