add example with member function
merge example1 into one file
remove .o files