Added the code for Mini-Project 1