Extracting agents at grid from facts an into variable.

This will be required for handling iterations of the board.