completes sumOfRange.js and creates README.