Fixed input that contains color codes

I used your tutorial on this to make a gem of my own (my first actually) and it uses this gem. But it acts strange when color codes are used so I have fixed that. My gem is called muchdoge by the way, and it re-defines puts to make all output using puts dogeified! It's more of a prank than something useful.
I think this should be taken out since it's specific to your use-case and is irrelevant to how the gem works.