Assignment 3 for CS 571 OS