implementing skeletal structure of dicom writer.
updated file header from Dicomkit to Dicomkit++
free memory in dtor.