Update the license in the sample code.
Merge pull request #2761 from natural-law/master

Update the license in the sample code.