Create lengthOfLongestSubstring