A cellular automaton for the simulation of competitive location