python sets lists equal to each other by pointer, equating by parts fixes issue