solution ruby 0 exo 4