parseVendingMachine() now detects faulty .xml files. It will let the
user now what's wrong and terminate the program.