Perspective: Purposeful Failure in Artificial Life and Artificial Intelligence