Some more changes to array_practice.rb, to simplify