completed 35-8kyu-swapValues.js