private static ArrayList<Branch> loadBranch(ArrayList<String> texts)
	{
		ArrayList<String> strings = new ArrayList<String>();
		ArrayList<Branch> branches = new ArrayList<Branch>();
		int startLine = 0;

		for(int lineNumber = 0;lineNumber < texts.size();lineNumber++){
			String aString = texts.get(lineNumber);
			if(aString.equals("branches:")){
				startLine = lineNumber+1;
				break;
			}
		}

		for(int lineNumber = startLine;lineNumber < texts.size();lineNumber++){

			String aString = texts.get(lineNumber);
			if(aString == null){
				break;
			}else{
				strings.add(aString);
			}
		}
		for(String aString : strings)
		{
			String[] branchStrings = aString.split(",.");
			Branch aBranch = new Branch(Integer.parseInt(branchStrings[0]),Integer.parseInt(branchStrings[1]));
			branches.add(aBranch);

		}
		return branches;
	}