Updated 2013 same_strings.cpp

Changed the conditions for ending to make sure the edge case of the
first string being “END” and the second string not being “END” was
taken care of.