added jpeg decoding

still need to add subsampling and up sampling on decode