the isSorted function checks if a list is sorted
Merge branch 'develop' of https://github.com/agarella/HaskellScripts into develop