Martin Nash HW2 & HW3

Here is my homework for week 2 and 3.