Royal Flush, Straight Flush, Flush, Straight detection