How to add icons beside the categories in Grid view?

Hi there, I would like to add icons beside the categories in the grid view list…

a different icon for each category

How can this be done — where is the code that affects this?