bugfixes in partitioner and implemented printInfo