hdf5 c api working

at last