added a license in the sample

What it says.