Langton's ant. Explanation: link