Update 11.5.1.cpp

while (left <= right)... fixes edge case for A[0]