implemented Ship class