use unordered map for constant time amortized access as opposed to lg(n)
Used DFS to print band lists