hw1 (almost) done