void fib(int **arr, int n){
    *arr = malloc(sizeof(int)*(n));
    for (int x = 0; x < n; x++){
        if (x == 0){
            *arr[x] = 0;
            }
        else if (x == 1){
            *arr[x] = 1;
        }
        else {
            *arr[x] = *arr[x-1] + *arr[x-2];
            printf("%d\n", *arr[x]);
            }
        }
    }