Modelling the Territories of Attic Demes: A Computational Approach