concept elem in category algorithms
appears as: elem

This is an excerpt from Manning's book Algorithms and Data Structures in Action.
#4 Otherwise just add a mapping between the element and a newly created singleton[9] set, and return true.
First, we initialize the associative array that is going to index the elements and map them to the partition they belong to (line #1).