U.todated exercise to ruby 2.1.1