The goal is to run a Monte Carlo simulation to find the probability of getting a hand of pure flush without straight. I think my problems are between line 33 to 40.

Help me debug a mostly a completed 50 lines algorithm on poker hand simulation
Total:
$8.99