adding preferences for professors
using datetime for table generation instead of clunky for loop