samples for secure programming explanation