finally finished prog5,(minus profling), I get consistant results regardless of the number of threads, it's fast and it seems to be correct
a few little bug fixes on prog5 (mainly what happens with odd input or lots of files)