This script creates a table of information regarding train connections based on input train activity information