Generate course codes. Closes #34.