The code for the Project Magrathea Tutorials