int check_permissions(char *perms, char *reqs){
    char *c = perms + 1;
    for (int a = 0; a < 3; a++) {
        if (c[(3 * a)] == reqs[(3 * a)] && c[(3 * a) + 1] == reqs[(3 * a) + 1] && c[(3 * a) + 2] == reqs[(3 * a) + 2]) {
            return 0;
        }
    }
    return 1;
}
compare whether three sequences of chars are the same. if they are the same, return 0. if not, check the next three characters