public Token(String string){
        this.value = string;
        // Checking to see which type of token it is
        for (int i = 0; i < regEx.length; i++){
            if (Pattern.matches(regEx[i], value)){
                this.type = tokens[i];
            }
        }
    }