refactor code to use ES6 swap 2 elements method
refactor code to use ES6 swap 2 elements method

darkkcyan/earth-the-orbitless-planet,darkkcyan/earth-the-orbitless-planet,darkkcyan/earth-the-orbitless-planet,darkkcyan/earth-the-orbitless-planet