My solutions for the programming challenges in ruby