added sample c++ classes