initial commit, placed df_to_dat in it's own individual dat file, since i'll probably need it in other code