diagram for prisoners and hats puzzle. Made by me in paint (oh the shame...)