add decodeWays and wordBreak.