Assignment 3, Questions 2 and 4