ESYS: Add twotasks code for lab2