In for item in list: , item is not a reference but a copy.  Fixed my program with this understanding in mind