Done up to Q.7 of Lab3