Solution for Course Project 1