Added solutions for part 1 of HW3