Added message to notify if no classes are attributed to a professor