Adding JPEG decoder  code