* feat: Add Duval's algorithm for the lexicographically smallest rotation in a sequence. * fixes. * fixes.