Code from MSc Introduction to C Unit