Ruby code for the TalentBuddy exercises