Add Ruby solution to Problem 1
Update Ruby solution to Problem 1