Python implementation of Langdon's Ant using test driven development (TDD)