added getSpace() method to figure out how much cargo space is available