Solution to the bank-ocr coding kata