altered main.m so that it is not calling functions that call other functions (simplifies things).  also changed get_matching points so that it is not using num_to_find