added pingpong-template-method.cpp