minor changes to bounds-as-function explanation

- removed semicolon because a function definition is not actually a
statement
- specified that the array would need to be returned by the function