Solution to Course Project 1