Bank OCR kata in Java