void fib(int** sequence, int n){
    *sequence = malloc(sizeof(int) * n);
    *sequence[0] = 0;
}
this is supposed to be a pointer to a pointer to a list of integers. but i keep getting a segmentation fault.
