Problems with this code using list<int> inside a map. Need to change to list<int>*
Changed to list<int>* and things look much better.