Add solution from Ruby course