fill grid with random true values function implemented