Found that the nns and lists need to be deepcopied in initialization.  Also found sorted(list) needs to be assigned to another list.  Kory Kraft 11-26-14