changed first.c and to_file.c to use GRAPH_OUT_DIR instead of current working directory for tmp and output files. the rm now executes based on GRAPH_OUT_DIR