profile: added example using the flags package

A strawman to iterate from.
responding to review feedback
tweaks
Merge pull request #15 from pkg/103-flag-parsing-strawman

profile: added example using the flags package