Create horner method