many small city states developed in ancient greece largely because