implementing vt100 escape codes +256 colors in ruby for fun