minor changes and error checking
Merge branch 'master' of https://github.com/drnida/biosort