Reordering Train Cars solutions

Reordering Train Cars was solved using Pascal by 1 contestant.