added sample code for adding a string to the clipboard