Create DecodeWays.cpp

it is a typical dynamic programming problem.