finish implementing bencode