dynamic allocation of partition arrays
Merge branch 'master' of github.com:em-mo/TDDD56
fixed conflict in sort.h