Solved WieldcardMatching Symmtric Problem with DP