As you can see, I used here as parent "Tutorials" and checked the box that creates an hierarchy.
To be able to add icons to my categories I used the plugin:
Category Subcategory List Widget