initial commit of string permutation checking