minor edits
the return type of toMultimap function is HashMultimap because it uses Set instead of a Collection for values with the same key