Need some help with isFlush and isThreeKind methods, poker-type program
<p>This isn't the complete code, but it's the parts that are causing problems. I've written both isFlush and isThreeKind, but for some reason they seem to always return true, except when the first return statement is changed to "return false", in which case they always return false. This leads to the interesting problem of the code declaring that 3000/3000 hands are flushes and contain three of a kind, something I'm fairly certain is impossible.</p>

<p>Edit: Yes I am a moron, I forgot to link to a pastebin of the code.</p>

<p><a href="http://pastebin.com/bahwrm7Y" rel="nofollow">http://pastebin.com/bahwrm7Y</a></p>
