getting values from the xml file into arrays and evetually to a hash