Update main.c

NUM_ITERATIONS is now set to 1 by default.
Change test case time length by adjusting X_RANGE/Y_RANGE