'Fill the board with a random pattern'

def make_random(self):

    self.state = {}
    for i in range(0, self.X):
        for j in range(0, self.Y):
            if (random.random() > 0.5):
                self.set(j, i)
