Added my solutions for the Ruby tests