Student praises professor for his teachings