C program DPCM encoder and decoder, using passed arguments