rewrote dfs with loop instead of recursion, implemented stack, new file format, tree building from file almost done, rearranged functions, takes now commandline arguments