added bencoding, as well as torrent file creation