Part of coursework at BITS Pilani - Hyderabad. Problem 1 of Assignment 1, Operating Systems (CS F372)