Added #include <iostream> and #include <stdio.h> clauses so that
the naive smpicxx can compile these files.