Solved longest substring without repeating characters