Add isSorted function with tests
Merge branch 'master' of https://github.com/andrewrota/javascript-algorithms