class_docstr: Holds the inventory of 2D pieces and performs cutting.
  :param max_pieces_in_inventory: Size of the inventory. If full, the oldest pieces get discarded.
  :param raw_piece_size: Size of a fresh raw (= full-size) piece.
code: def __init__(
      self, max_pieces_in_inventory: int, raw_piece_size: (int, int)
  ):
      self.max_pieces_in_inventory = max_pieces_in_inventory
      self.raw_piece_size = raw_piece_size
  
      self.pieces = []
  
file_path: maze/tutorials/tutorial_maze_env/part03_maze_env/env/inventory.py
imports: from .maze_action import Cutting2DMazeAction
label_desc: Use image node_id 1 to create a new Inventory object  with example: obj = Inventory(max_pieces_in_inventory, raw_piece_size)