'Initialize the world by placing all the blocks.'

def _initialize(self):

    n = 80
    s = 1
    y = 0
    for x in xrange((- n), (n + 1), s):
        for z in xrange((- n), (n + 1), s):
            self.add_block((x, (y - 2), z), GRASS, immediate=False)
            self.add_block((x, (y - 3), z), STONE, immediate=False)
            if ((x in ((- n), n)) or (z in ((- n), n))):
                for dy in xrange((-2), 3):
                    self.add_block((x, (y + dy), z), STONE, immediate=False)
    o = (n - 10)
    for _ in xrange(120):
        a = random.randint((- o), o)
        b = random.randint((- o), o)
        c = (-1)
        h = random.randint(1, 6)
        s = random.randint(4, 8)
        d = 1
        t = random.choice([GRASS, SAND, BRICK])
        for y in xrange(c, (c + h)):
            for x in xrange((a - s), ((a + s) + 1)):
                for z in xrange((b - s), ((b + s) + 1)):
                    if ((((x - a) ** 2) + ((z - b) ** 2)) > ((s + 1) ** 2)):
                        continue
                    if ((((x - 0) ** 2) + ((z - 0) ** 2)) < (5 ** 2)):
                        continue
                    self.add_block((x, y, z), t, immediate=False)
            s -= d
