Solution to "9 men in a trench" sliding box puzzle by chand