Code for the course projects