Create decode-ways.cpp