Completed Lab 4 of lecture 9