review dynamic programming wildcardMatching fix issue #5