after galaxy brianing i realize i dont need to check the length of the strings because if it compares a character with another from another string and one is a zero we have reached the end of the string and we arnt reading memory that isnt ours