Update longest-substring-without-repeating-characters.cpp

Change idx from starting Index - 1 to starting Index