bool isAlienSorted(char ** words, int wordsSize, char * order){
if (wordsSize == 1)
return true;
int i,j,k;
for (i=0; i<wordsSize-1; i++)
{
int len = strlen(words[i]);
for (j=0; j<=len; j++)
{
if (words[i][j] != words[i+1][j])
{
if (words[i+1][j] == '