finished off gettok function by getting it to just return any unrecognized characters