Finished the bank ocr problem in Ruby.