Add a cpp file

add cpp file