These codes arrange 10 identical rectangles on a 5×2 grid; only 4 of the rectangles will give a food reward, and those rectangles are remembered between sessions!  This allows the researcher to test long-term (reference) memory in her subjects.

When it’s running it looks like this:

Here are the codes: