creating Ship class