Added NetCDF write example (C)

First NetCDF example added.