Added all sorting algorithms from 'Algorithms in a Nutshell'