Exercises from weeks 1 and 2 and first homework

These are the in class exercises and first homework.