input: Write a python function to generate a random pattern of circles (1) and squares (0) in a 3x3 grid.
  assert np.count_nonzero(generatePattern()) <= 9
  assert generatePattern().shape == (3, 3)
  assert (generatePattern() == 0).sum() + (generatePattern() == 1).sum() == 9
output: import numpy as np
  
  def generatePattern():
      return np.random.randint(0, 2, size=(3, 3))