hw1 file & tests.