added main.rb file for analysis output
fixed bug with \n symbol