added a few more ruby solutions