implementing Snake as 2-list FIFO.