Generate memory-palace grid location encodings to place and recall items along a familiar route.
记忆宫殿虚拟格子位置编码生成。