add string comparison library

compare strings and return their diff