add samples of hdf5 read/write