Create Longest non-repeated substring