added a partition number to metadata
move the mpi_datatype constuction
partition metadata prints and better stuff
working?