Several years ago, a group of students from the famed Massachusetts Institute of Technology cracked the lottery code that enabled them to win millions of dollars — and state officials did nothing to stop it.