First part HW3 done