Propagating beats and fibrillation in a cellular automata model of an excitable medium