My solution to Operating System Concepts chapter 4 exercise 2