Preliminary dwt= fix

Needs to come before segment anode
Preliminary dwt= fix

Updated to reflect changes in rail batchin files
Formatting
Working, with warnings...

e.g. "NOTE: NAME, '42349  lay' is not defined.
RULE:
----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+-
43            42349  lay=3 16
count=1 type=M first=  name=  path=  dwt=  ttf=. us1=. us2=. us3=. lay=3
anode=42349 dwflag=
_ERROR_=1 _INFILE_=42349  lay=3 _N_=43"
Improved formatting
Replaced generate_transit_files_3.sas w/ Python function
Finalized formatting
Clearer logic