Three years ago, Harvard University and MIT embarked on a unique experiment when they launched a nonprofit called edX. The start-up promised a free online education, with university-level classes for anyone living anywhere across the globe.