added consecutive? tests and functionality to ship class