The agent is now able to figure out common neighbors between two squares.