Update main.c

fixed line 40: difftime expects two arguments of type struct tm*
lessonarray[index] returns a struct tm instead of a struct tm*
this can be solved by using lesson array+index (pointer arithmetics)