Added method to find longest unique substring of a string