A Simple Model of Credit Contagion