final version hw1 complete