Adding a code sample

Adding a code sample