Utils in JavaScript for solving Mental Poker problems.