MSc CS, PiJ, assignment 2