Router now populates Trie and looks up IPs. ~12 second runtime