Changed to dictionary

Created a dictionary of strings and List<string>,  categories are the
keys, and the corresponding lists of subcategories are the values