I did not run your code, but checking is easier with sorted hand. Only you must first cosider the wild cards and include those for analysis.
pyTony
pyMod
5,359 posts since Apr 2010
Reputation Points: 782
Solved Threads: 852
I'll save you the trouble of searching around: qsort .
Narue
Bad Cop
15,460 posts since Sep 2004
Reputation Points: 6,464
Solved Threads: 1,401