hw1-final-version