Simple Class to create an xml file from an array