Added notes function example 

Added notes function example under Composite Types showing how to return a list of field names
Merge pull request #6600 from EconometricsBySimulation/patch-1

Added notes function example