Fixed addCarriage function so that it checks if passengers are on board.
All tests should now pass