created function isDelimiter(char c)