Implement choose pirate name function