Torrent-like file sharing protocol for our school project.