added detect_straight_flush algorithm