Update coding.cc

simple coding.cc impl
Merge pull request #1 from Liuchang0812/simple_co

Update coding.cc