void fib(int *fib_sequence, int n) {
    int *fib_sequence = malloc(sizeof(int) * n);
    for(int i = 0; i < n + 1; i++) {
        if(i == 0) {fib_sequence[i] = 0;}
        else if(i == 1 || i == 2) {fib_sequence[i] = 1;}
        else {fib_sequence[i] = fib_sequence[i-2] + fib_sequence[i-1];}
    }
}
create dynamic array of fibonacci sequence of n items