Removed MPI C++ source files.
Silenced some warnings about type conversions.
Added build scripts for example directory.