Added commenting for the encoding
Commented the decoding part