input: Write a function to generate a maze with the given width and height.
  assert len(generate_maze(5, 5)) == 5
  assert len(generate_maze(5, 5)[0]) == 5
  assert generate_maze(1, 1) == [[0]]
  assert all(cell in (0, 1) for row in generate_maze(3, 3) for cell in row)
output: def generate_maze(width, height):
      import random
  
      def create_grid(w, h):
          return [[1 if random.random() > 0.3 else 0 for _ in range(w)] for _ in range(h)]
  
      maze = create_grid(width, height)
      maze[0][0] = 0  # Start point
      maze[height-1][width-1] = 0  # End point
      return maze