Fix Reservation Output

Resevation output can now support more than just
train 47 and 50.

Also fixed a bug, where extra edges were being printed.