PrefixTree allows groups to be added and the groups corresponding to a number to be retreived