Implementation of Langton's ant (one night coding)