Updated newton.prog to be a valid program

missing declaration of variable error