Changes to Ship

Added null check to searchCargo method