int *build_array(char **strs, int size) {
    int *array = malloc(sizeof(int) * size);
    for (int i = 0; i < size; i++) {
        array[i] = strtol(strs[i], NULL, 10);
    }
    return array;
}
convert strings in strs to ints in an array and return that array