add pretty print method to class Torrent