How to write a cell address encoder in ruby | Hacker News Reader