This takes in a site as flag and creates a xml file of all the links present in that webpage and max depth pages(taken as a flag). Max depth represents the depth we can navigate inside the host page into some other pages but with the same domain name.