Added ruby script

Problem 1 in ruby