A 4,000-year-old defensive wall found in Morocco points to advanced prehistoric societies. It suggests North Africa played a bigger role in Mediterranean history than researchers thought.