int rec_contains(int **pos, int *start, int *end, int x);