Does a machine that takes one quarter at a time into its input and produces two gumballs in its output act like a function?