Update app.js

All 8 steps replaced with functions for arguments instead of variables in sortBaggage.