checks if two strings are equal.

checks if two strings are equal.