fixed permuted_strings, fixed utils.equal and minor doc changes