Redefine the method sail of our class Ship so that it would take the destination and then tell where the ship is going. Call this method on the black_pearl object that's defined in the code below and print the returned message.
Note: you should read the destination from input!
The input format:
The name of the country or the city where the ship is going.
The output format:
The result of the updated sail method: a message structured like "The {name of the ship} has sailed for {country/city}!"