Green crabs learned to navigate a maze without making a single wrong turn—and remembered the skill weeks later. Christopher Intagliata reports.