Code for the MPRI concurrency course assignment