Finished part1 of Lab 4