Code for the course CS101