Assignment 2 XML Dir Solution