Split the strings in line into an array using spaces and return a list of strings
char** parseLine(char* line) {
    // Parse the line
    char** args = malloc(sizeof(char*));
    char* arg = strtok(line, " ");
    // Parse the arguments and add them to args
    int i = 0;
    while (arg != NULL) {
        args[i] = malloc(strlen(arg) + 1);
        strcpy(args[i], arg);
        i++;
        args = realloc(args, sizeof(char*) * (i + 1));
        arg = strtok(NULL, " ");
    }
    args[i] = NULL;
    return args;
}