Create LongestSubstringWithoutRepeatingCharacters.java

just record when the current character occurs.