pull rank_switch template out to f90 file
mpi_test program template only testing program
include statements printed at subroutine level
add chunked
mpi generation works