Minor grammar writing fixes.
Added grammar document output to samples