https://knightzone.studio/2015/01/14/2668/uva%ef%bc%9a10161%ef%bc%8dant-on-a-chessboard/
#UVa:10161-Ant on a Chessboard