For Operating Systems homework