Work in progress: porting inline hash set to map.

Fixing incorrect and unfinished parts.
Work in progress: porting inline hash set to map.

Adding toString() output.