I'm trying to build a simple algorithm to detect if a word in an array matches a given string (in this case, g) uniquely--as in, only 1 appearance of the characters in g, AND an unlimited amount of appearances of the vowels--aeiouy.I'm trying to build a simple algorithm to detec