A computer programmer for the Multi-State Lottery Association has pleaded guilty in Iowa to running a criminal scheme that allowed him to collect millions of dollars in lottery winnings in several states.