Write a story about a young pirate who finds an ancient map leading to a legendary treasure. What obstacles do they encounter on their journey?