Week 4: Assignment 1 and 2