Update poly_print.c

what's stored in length has now been made equal with the degree of the function.
since we start i = 0, it has to reach the top