The elder runesmith can manipulate a sigil-string by taking one of the first k letters and moving it to the end of the string, any number of times.
Given a string of length n and an integer k, determine the lexicographically smallest string that can be created after an unlimited number of moves.