A Simple Model of Cascades in Networks