Added ruby implementation of challenge 173