This is the code I wrote for my Operating Systems class in 2013