Set card game intial commit.
Improved the matching logic