Update chain-ladder.r

Correct file extension ".cpp.cpp" to ".cpp"