Finished part 1 of HW 1