Write a main method for SpacePirate. It should first initial…
Write a main method for SpacePirate. It should first initialize two SpacePirates with a crew size of 1 (just themselves) and the other values as you like. Then, have the first one try to pay their bounty. Next, use an appropriate method call to form a new crew made up of these two pirates and any spaceship. Finally, print the String representation of both pirates. You do not need to show the output.