This is the poker problem from coder dojo (http://cyber-dojo.org/setup/show/1E8447).