Added an if-statement to make sure the coaches will be filled up to capacity before moving to the next station.