rewrote code_INPUT for lang_ruby

Previous version had some quirk that resulted in a [-] on negative
cell. Near inf loop on 64 bit cells in other words.