Added function to retrieve the pirate name from local storage and create a PirateName object from it.
Call the function from main()
Adding a JSON-encoded file with more names and appellations.