16 Bit To 8 Bit Conversion In C