DONE with Vladimir Glazachev. HW6 num1.