Degree of an Algebraic Expression