Create downsample.c