JPEG: Finish skeleton code for sequential-DCT.