finished the write-up of 266 hw 1