now counts the run-throughs
implements read_data_file function
started adding print_result function