A Python implementation of Accounting Pattern by Martin Fowler