My ruby homework solutions 2013