Please check my Huffman tree
The average codeword length of your professor's code is $2.577$.

The average codeword length of your code is $2.662$.

Huffman's algorithm produces a code minimizing the average codeword length.

You draw the conclusions.