bittorrent client written in python for class