Bank OCR kata, written in Java 6