Fixed return by value, output

The "return by value" section was actually calling the functions that
return by reference. Obviously a copypasta error.

Also, clarified some of the output.