Final Version of Lab 4, for grading