public List<City> extractNodes(Document document){
		List<City> result = new ArrayList<City>();
		NodeList nodeList = document.getElementsByTagName("NODE_COORD_SECTION");
		for(int i = 0; i < nodeList.getLength(); i++){
			City city = new City();
			Node node = nodeList.item(i);
			Node index = node.getFirstChild();
			String str = index.getNodeValue();
			int cityNumber = Integer.parseInt(str);
			city.setIndex(cityNumber);
			NodeList coordinates = ((Element)node).getElementsByTagName("real");
			for(int k = 0; k < coordinates.getLength(); k++){
				Node real = coordinates.item(k);
				str = real.getNodeValue();
				Double num = Double.valueOf(str);
				city.getCoordinates().add(num);
			}
			result.add(city);
		}
		return result;
	}