An assignment on implementation of a torrentor in Java