A programming error in a South Carolina lottery game generated too many winning tickets, prompting many to think they won big on Christmas Day.