Horners polinomial implementation