Add bencode library source, with minor modifications for our program