exercise6.rb arrays, inserting objects, sorting, deleting, adding strings