Code to accompany the online tutorials and practicals