Naming - this isn't a lookup function, it takes a list and frequency map and returns the intersection