Finished Week 2 Programming Assignment