Completed all problems for assignment 3.