In a 5x5unit prison there are 9 inmates and 15 guards. The inmates are numbered
08 and the guards are all named G. Your job is to place the guards and inmates
in the prison so that only one is in each of the 25 square units (obviously one
square unit will be empty). Additionally, each inmate N must be adjacent
(horizontally, vertically, or diagonally) to exactly N guards where N is the
inmate’s number. Thus, inmate 4 must be adjacent to EXACTLY 4 guards while
inmate 0 is adjacent to none.
As a bonus, you can try and do the same task with only 16 guards and no empty
space.
