Updated method name in DepartingTrain

canMove() is now trainCanMove(). Functionality remains the same.

Fixed logic in nextCarriage.