review dynamic programming wildcardMatching (dp approach)fix issue #5