Several exercises related to process scheduling