Modeling self-organizing traffic lights with elementary cellular automata