Complexity in a cellular model of river avulsion