Added notes function example

Added notes function example under Composite Types showing how to return a list of field names