Adding working Ruby Day 2 code