Created XMLParser.java, to parse XML