added a note on pointers vs values for arrays
various edits