Added algorithm for "n_th smallest/largest number in infinite string"