added function deal, poker and frequencies measurement for hand-ranks