Added comments about the ref keyword.

Using ref as the keyword in a function header allows treating basic
types as if they were reference types.
Changing the value in the one function means that the change is visible
in other functions immediately.