Completed Lecture 8 Assignment