   task.resume()
 }
 
-func parse(document: String, url: URL) {
+func parse(document: String, url: Foundation.URL) {
   func find(word: String, from document: String) {
     guard document.contains(word) else { return }
     print("✅ Word '\(word)' found at page \(url)")
   }
 
-  func collectLinks(from document: String) -> [URL] {
+  func collectLinks(from document: String) -> [Foundation.URL] {
     let types: NSTextCheckingResult.CheckingType = .link
     let detector = try? NSDataDetector(types: types.rawValue)
     let range = NSRange(0..<document.count)

  }
}

func visit(page url: URL) {
  visitedPages.insert(url)

  let task = URLSession.shared.dataTask(with: url) { data, response, _ in

let maximumPagesToVisit = 10

// Crawler Parameters
var visitedPages: Set<Foundation.URL> = []
var pagesToVisit: Set<Foundation.URL> = [startUrl]

// Crawler Core
func crawl() {
