Revised collections example to use records. Added simple record example