Do we need to embed C code for Q2(a) into latex as well? It has over 200 lines, maybe not suitable to put it into latex?
Maybe this time only, embed it into latex, but only in an appendix,
so that someone can read the solutions and check the code only if needed
(or if annotations on the code are needed).