add a test program for function point as  class member

this program show how to use function point as  class member