Update TextToPGM.rb

Change Space