Operating systems coursework to implement malloc() in C.