completes reversingArray.js and updates README