Adding Train Termination stop
Finished output expanded with total lines and fixed spacing