Creates dictionary with each item as a key and its cateogry as the value