use the CXX hdf5 libraries (since we're in C++)
fix subtype from cut-and-paste typo.  add header writing.
incorrect subtyping
opening and closing of HDF5 files.  also an AddGroup function to add
a group to the file.