Update functions.scm

Added a basic decrementing function to allow for a direct and simple view of currying and closure.