enhanced from_lists
Merge pull request #1 from Timeweb/lists_to_maps

enhanced from_lists