Some sample code for the second lecture