int **split_array(const int *s, int length) {
    int i;
    int **result = malloc(sizeof(int*)*2);
    if (length % 2 !=0){
	int *even = malloc(sizeof(int)*(length/2 + 1));
	int *odd = malloc(sizeof(int)*(length/2));
} else {
	int *even = malloc(sizeof(int)*(length/2));
	int *odd = malloc(sizeof(int)*(length/2));
}
    for (i = 0; i < length; i++){
	if (i%2 == 0){
	    even[i/2] = s[i];
}	else{
	    odd[i/2] = s[i];
	}
    }
    *result[0] = even;
    *result[1] = odd;
}
