The original bubble sort and changes on app.rb