code: def initialize(self, grid=None, num_of_paths=None, seed=None):
          
          self.num_of_paths = num_of_paths
          self.grid = grid
          self.seed = seed
          self.result = list()
          self.state = self.initial_state
docs: initialize consumer for simulation
          :param num_of_paths: number of path
          :type num_of_paths: int
          :param grid: list of grid point
          :type grid: list(date)
          :param seed: simulation seed
          :type seed: hashable