we should stop when we have nothing left to compare. Also, when one string is exhausted, keep on going with the other string. Don't duplicate work.