Why failing is good and how to fail better.