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)
Merge pull request #5 from knicko/patch-5

Update main.c