Added Encoding

Encoding is a strict inverse of decoding, meaning decoding and encoding
a bencoded string will give an identical string.