add solution for longest substring without repeating chracters.